package com.woniu.service;

import com.woniu.domain.CourseSection;

import java.util.List;

public interface CourseSectionService {
    //根据课程id查询章节

    List<CourseSection> getByCourseId( Integer courseId);

    //根据课程id查询章节
    List<CourseSection> getCourseSectionByCid(Integer courseId);

    int addCourseSection(List<CourseSection> courseSection);

    List<CourseSection> getCourseSectionByChapter(List<String> chapters);
}
